package org.xlx.xlx_oa.warehouse.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.xlx.xlx_oa.warehouse.domain.WarehouseFacility;
import org.xlx.xlx_oa.warehouse.domain.dto.FacilityDto;
import org.xlx.xlx_oa.warehouse.domain.vo.FacilityVo;

import java.util.List;

@Repository
public interface WarehouseFacilityMapper extends BaseMapper<WarehouseFacility> {
    List<FacilityDto> selectFacilityList(@Param("facilityVo") FacilityVo facilityVo);

    FacilityDto selectFacilityOne(@Param("id") Long id);

}
